package com.diana.app;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@ComponentScan(basePackages= {"com.diana.*"})
@MapperScan(basePackages="com.diana.mapper")
@EnableAsync
public class DianabootApplication {

    private static final Logger log = LoggerFactory.getLogger(DianabootApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(DianabootApplication.class, args);
    }
}
